package com.siwei.mes.mapper.order;

import com.siwei.mes.common.base.BaseMapper;
import com.siwei.mes.entity.order.OrderExperiment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 工单和试验台账的关系(OrderExperiment)表数据库访问层
 *
 * @author linzi
 * @since 2024-03-18 17:45:49
 */
public interface OrderExperimentMapper extends BaseMapper<OrderExperiment> {
    /**
     * 获取所有
     *
     * @param entity
     * @return
     */
    List<OrderExperiment> getList(OrderExperiment entity);

    /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    OrderExperiment loadById(@Param("id") Long id);
}
